﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using MongoDB.Bson;

namespace DataMongo.Entities
{
   public class UserCompanyInfo
    {
        public ObjectId _id { get; set; }

        public int UserCompanyInfoId { get; set; }
        public int UserId { get; set; }
        public string CompanyName { get; set; }
        public int? CompanyStartDate { get; set; }
        public string CompanyDivision { get; set; }
        public int? CompanyEndDate { get; set; }

        public string Description { get; set; }
        [NotMapped]
        public List<int> YearList { get; set; }
    }
}
